#pragma once
#include "api.h"
class CGeoDrillData;

namespace Dimine{namespace Core{
	ref class dmDbDatabaseCS;
	ref class dmDataTableCS;
	using namespace System::Collections::Generic;

	public ref class dmGeoDrillDataCS
	{
		DEF_NATIVE(CGeoDrillData,dmGeoDrillDataCS)
	public:
		dmGeoDrillDataCS();
		bool Save(STRINGCS filename);
		bool Load(STRINGCS filename);
		bool Load(dmDbDatabaseCS db);
		List<STRINGCS>^ GetHoleNameSet();

		dmDataTableCS^ GetCollarTable();

		dmDataTableCS^ GetSurveyTable();

		dmDataTableCS^ GetSampleTable();

		dmDataTableCS^ GetLithologyTable();

		array<double>^ GetBounds();

		bool Remove();	
		bool Remove(bool bSave,STRINGCS filename);
		List<STRINGCS>^ GetItemNames();
	};

}}